home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / umask.z / umask
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. UUUUMMMMAAAASSSSKKKK((((1111))))                                                              UUUUMMMMAAAASSSSKKKK((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      umask - set file-creation mode mask
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      uuuummmmaaaasssskkkk [ ooo ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The user file-creation mode mask is set to _o_o_o.  The three octal digits
  16.      refer to read/write/execute permissions for _o_w_n_e_r, _g_r_o_u_p, and _o_t_h_e_r_s,
  17.      respectively (see _c_h_m_o_d(2) and _u_m_a_s_k(2)).  The value of each specified
  18.      digit is subtracted from the corresponding ``digit'' specified by the
  19.      system for the creation of a file (see _c_r_e_a_t(2)).  For example, uuuummmmaaaasssskkkk 000022222222
  20.      removes _g_r_o_u_p and _o_t_h_e_r_s write permission (files normally created with
  21.      mode 777777777777 become mode 777755555555; files created with mode 666666666666 become mode 666644444444).
  22.  
  23.      If _o_o_o is omitted, the current value of the mask is printed.
  24.  
  25.      _u_m_a_s_k is recognized and executed by the shell.
  26.  
  27.      _u_m_a_s_k can be included in the user's ....pppprrrrooooffffiiiilllleeee or ....llllooooggggiiiinnnn file (see
  28.      _p_r_o_f_i_l_e(4) and _c_s_h_r_c(4)) and invoked at login to automatically set the
  29.      user's permissions on files or directories created.  The default for all
  30.      logins is set in ////eeeettttcccc////ddddeeeeffffaaaauuuulllltttt////llllooooggggiiiinnnn before the user's shell is started.
  31.  
  32. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  33.      chmod(1), sh(1), chmod(2), creat(2), umask(2), cshrc(4), profile(4)
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.